package com.hao.proxy.context;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

import com.hao.proxy.model.Proxy;


public class Constants {
	
	public final static ExecutorService THREAD_POOL = Executors.newCachedThreadPool();
	
	public final static BlockingQueue<Proxy> FILTER_QUEUE = new ArrayBlockingQueue<Proxy>(600);
	
	public static BlockingQueue<Proxy> PROXY_QUEUE;
	
	public static BlockingQueue<Proxy> ABLE_USE_PROXY_QUEUE;
	
	public static Object INIT_LOCK = new Object();
}
